package cn.xuqiudong.token.demo.model;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-08-30 10:54
 */
public class TokenSignModel {

    /**
     * 用户名
     */
    private String username;

    /**
     * appId
     */
    private String appId;

    /**
     * 时间戳
     */
    private long timestamp;

    public TokenSignModel(String username, String appId) {
        this.username = username;
        this.appId = appId;
        this.timestamp = System.currentTimeMillis();
    }

    public TokenSignModel() {
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
}
